# -- coding: utf-8 --
from tools.Request_General import BaseAPI


class Chart(BaseAPI):
    """
    图表相关接口
    """

    def query_table_data(self, payload):
        r = self.request_send(json=payload)
        return r

    def query(self, params):
        r = self.request_send(params=params)
        return r